package com.fruit.pojo.wechat;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 微信范围令牌
 * 
 * @author Administrator
 * @version 2018.03.20 11:40
 */
public class WeChatToken implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@JSONField(name = "access_token")
	private String accessToken; // 接口调用凭证 2个小时有效期
	@JSONField(name = "expires_in")
	private String expiresIn; // access_token接口调用凭证超时时间，单位（秒）
	@JSONField(name = "refresh_token")
	private String refreshToken; // 用户刷新access_token 30天有效期
	private String openid; // 授权用户唯一标识
	private String scope; // 用户授权的作用域，使用逗号（,）分隔

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(String expiresIn) {
		this.expiresIn = expiresIn;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

}
